#ifndef __MYBOARD_H__
#define __MYBOARD_H__

#include "device_def.h"


extern Device_t* dev_usart1;
extern Device_t* dev_usart3;

extern Device_t* dev_btn1;
extern Device_t* dev_st7789;

extern Device_t* dev_beep;

#include "cbb_event.h"

extern Event_t* event_btn1;
extern Event_t* event_usart3_rx;

extern Event_t* event_get_dis_task;

enum {
    TASK_GET_DIS_SUCCESS = 0U, // 获取距离成功 
};

extern uint32_t u32TaskID;

/**
 * @brief 初始化板子设备
 */
void myboard_init(void);

#endif
